package com.kmt.plaza.dao;

import com.kmt.plaza.entity.UserAddress;
import com.kmt.plaza.general.GeneralDAO;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserAddressMapper extends GeneralDAO<UserAddress> {
    //用户查询自己的地址
    public List<UserAddress> queryUserAddress(Integer userId);
    //用户新增新地址
    public int insertAddress(UserAddress userAddress);
    //修改商品
    public int updateAddress(UserAddress userAddress);
}